# 相对路径和绝对路径都是OK的, 起码在windows系统, 下面2行代码都是跑的通的

# with open('D:\1. Study\Python\python2020\练习的代码\Chapter10_文件与异常\pi_digits.txt') as file_object:
with open('Chapter10_文件与异常\pi_digits.txt') as file_object:
    contents = file_object.read()
    print (contents)

# 3.1415926535
# 8979323846
# 2643383279
